package com.project.dubbo.springboot.starter.autoconfigure;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import com.alibaba.dubbo.config.ApplicationConfig;
import com.alibaba.dubbo.config.ProtocolConfig;
import com.alibaba.dubbo.config.RegistryConfig;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@ConfigurationProperties(prefix = DubboProperties.DUBBO_PREFIX)
@Component
public class DubboProperties {

	public static final String DUBBO_PREFIX = "dubbo";
	
	private String scan;
	private ApplicationConfig application;
	private ProtocolConfig protocol;
	private RegistryConfig registry;
}
